package com.iran.abstractFactory.test.impl;

import com.iran.abstractFactory.test.IUser;
import com.iran.abstractFactory.test.entity.User;

public class UserMysql implements IUser {
    @Override
    public void Insert(User user) {
        System.out.println("为Mysql增加了user表一条数据");
    }

    @Override
    public User getByName(String name) {
        System.out.println("为MYSQL查询了user表一条数据");
        return null;
    }
}
